﻿using System.Collections.Generic;
using Foothill.Model;

namespace Foothill.Service.AdService
{
    public interface ISearchResultStatsCalculator
    {
        IList<StatsItem> GetMakeStatsList(IList<ForSaleAd> resultList);

        IList<StatsItem> GetCityStatsList(IList<ForSaleAd> resultList);

        IList<StatsItem> GetConditionStatsList(IList<ForSaleAd> resultList);

        IList<StatsItem> GetListingTypeStatsList(IList<ForSaleAd> resultList);

        IList<StatsItem> GetTransmissionTypeStatsList(IList<ForSaleAd> resultList);

        void GetMileageStatsList(IList<ForSaleAd> resultList, out IList<StatsItem> mileageStats, out IList<StatsItem> yearAgeStats);
    }
}
